package com.ensah.dao.impl;

import java.util.List;

import com.ensah.dao.AbsenceDao;
import com.ensah.metier.bo.Absence;
import com.ensah.metier.bo.Matiere;
import com.boudaa.dao.GenericDao;
import com.boudaa.dao.impl.GenericDaoImpl;

public class AbsenceDaoImpl extends GenericDaoImpl<Absence, Long> implements AbsenceDao{

	public AbsenceDaoImpl() {
		super(Absence.class);
	}

	
	public List<Absence> getAbsenceByCne(String cne) {
		return null;
	}

	
	public List<Absence> getAbsenceByMatiere(Matiere mat) {
		return null;
	}


	
	public List<Absence> getAbsenceByIdEtd(Long id) {
		
		return getHibernateTemplate().find("from Absence where idUtil=?",id);
	}

}
